package com.egao.common.module.student.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 学生就业状况趋势VO
 * @author pyx
 * @Date 2021/6/4
 */
@Data
public class StudentSignStatusTendVO {
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("周期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @ApiModelProperty("周期结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    @ApiModelProperty("总数")
    private Integer sum;

    @ApiModelProperty("人数")
    private Integer num;
    @ApiModelProperty("占比")
    private String ratio;
    @ApiModelProperty("类型名称")
    private String name;
    @ApiModelProperty("同比增长率")
    private String increment;
    @ApiModelProperty("趋势 0上涨 1下降 2不变")
    private String tend;

    /**
     * 将14种类型封装到子集
     */
    @ApiModelProperty("子类集合")
    private List<StudentSignStatusTendVO> listTendVO;


}
